package com.zhx.basis.设计模式.抽象工厂.demo1;

public class EGMCacheAdapter implements ICacheAdapter {

    private EGM egm = new EGM();

    public String get(String key) {
        return egm.getEGM(key);
    }

    public void set(String key, String value) {
        egm.putEGM(key, value);
    }

    public void del(String key) {
        egm.removeEGM(key);
    }
}